package com.fdb.efp.nls.service.facade;

import com.fdb.efp.nls.service.vo.PlsOrgMonthlyLoanDataVO;

import java.util.List;

/**
 * Service Interface：个人贷款业务机构日报表服务 
 * @author ligm
 * @date 2019-07-03 
 */
public interface PlsOrgMonthlyLoanDataService {
    
	/**
	 * 新增数据 
     * @param inPlsOrgMonthlyLoanDataVo
	 * @return 
	 */
	public int insertPlsOrgMonthlyLoanData(PlsOrgMonthlyLoanDataVO inPlsOrgMonthlyLoanDataVo);

    /**
	 * 根据主键删除信息 
     * @param inPlsOrgMonthlyLoanDataVo
	 * @return 
	 */
	public int deleteByPk(PlsOrgMonthlyLoanDataVO plsOrgMonthlyLoanDataVo);

    /**
	 * 根据主键更新信息 
     * @param inPlsOrgMonthlyLoanDataVo
	 * @return 
	 */  
	public int updateByPk(PlsOrgMonthlyLoanDataVO plsOrgMonthlyLoanDataVo);

    /**
	 * 根据主键查询详情 
     * @param plsOrgMonthlyLoanData
	 * @return 
	 */
	public PlsOrgMonthlyLoanDataVO queryByPk(PlsOrgMonthlyLoanDataVO plsOrgMonthlyLoanDataVo);

    /**
	* 一级数据权限
     * @param plsOrgMonthlyLoanData
	 * @return 
	 */	
	public List<PlsOrgMonthlyLoanDataVO> queryAllByLevelOne(PlsOrgMonthlyLoanDataVO plsOrgMonthlyLoanDataVo);
	
    /**
	 * 二级数据权限 
     * @param plsOrgMonthlyLoanData
	 * @return 
	 * @version 0.1
	 */
	public List<PlsOrgMonthlyLoanDataVO> queryAllByLevelTwo(PlsOrgMonthlyLoanDataVO plsOrgMonthlyLoanDataVo);
	
    /**
	 * 三级数据权限 
     * @param plsOrgMonthlyLoanData
	 * @return 
	 */
	public List<PlsOrgMonthlyLoanDataVO> queryAllByLevelThree(PlsOrgMonthlyLoanDataVO plsOrgMonthlyLoanDataVo);
	
    /**
	 * 四级数据权限 
     * @param plsOrgMonthlyLoanData
	 * @return 
	 */
    public List<PlsOrgMonthlyLoanDataVO> queryAllByLevelFour(PlsOrgMonthlyLoanDataVO plsOrgMonthlyLoanDataVo);

    /**
	 * 五级数据权限
     * @param plsOrgMonthlyLoanData
	 * @return 
	 */
    public List<PlsOrgMonthlyLoanDataVO> queryAllByLevelFive(PlsOrgMonthlyLoanDataVO plsOrgMonthlyLoanDataVo);


	/**
	 * 需求编号：2019D0519<br/>
	 * 问题编号：<br/>
	 * 功能描述：批量插入数据<br/>
	 * 开发人员：周才顺<br/>
	 * 创建时间：2019年7月3日<br/>
	 * @author zhoucs1
	 * @since  1.0
	 * @version 1.0
	 * @param plsOrgMonthlyLoanDataVOList
	 * @return
	 */
	public int batchInsert(List<PlsOrgMonthlyLoanDataVO> plsOrgMonthlyLoanDataVOList);

	/**
	 * 需求编号：2019D0519<br/>
	 * 问题编号：<br/>
	 * 功能描述：通过机构号和批次时间查询余额<br/>
	 * 开发人员：周才顺<br/>
	 * 创建时间：2019年7月3日<br/>
	 * @author zhoucs1
	 * @since  1.0
	 * @version 1.0
	 * @param queryPlsOrgMonthlyLoanDataVO
	 * @return
	 */
	public PlsOrgMonthlyLoanDataVO queryByBranchBankAndBatchDate(PlsOrgMonthlyLoanDataVO queryPlsOrgMonthlyLoanDataVO);
}
